package com.cosmoplat.xikai.business.domain.mes.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName MesStartWorkRequest
 * @Description mes开工
 * @Author wdf
 * @Date 2025/1/9
 */
@ApiModel(description = "mes开工")
@Data
@NoArgsConstructor
public class MesStartWorkRequest {

    
    /**
     * 派工单ID
     */
    @ApiModelProperty(value = "派工单ID", example = "1234567890")
    private String orderID;

    /**
     * 派工任务ID
     */
    @ApiModelProperty(value = "派工任务ID", example = "1234567890")
    private String taskID;

    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间", example = "2023-01-01 12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operationTime;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人", example = "张三")
    private String operator;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2023-01-01 12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 操作类型
     * 默认1 开工
     * 0 取消开工
     * 1 开工
     */
    @ApiModelProperty(value = "操作类型", example = "1")
    private String operation;

    /**
     * 最后修改时间
     */
    @ApiModelProperty(value = "最后修改时间", example = "2023-01-01 12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifiedTime;
}